package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.dto.EvaluationDTO;
import com.example.entity.OrderEvaluation;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.vo.MyEvaluationVO;
import com.example.vo.Result;

import java.util.List;

/**
* @author circle48
* @description 针对表【order_evaluation】的数据库操作Service
* @createDate 2024-05-17 21:43:31
*/
public interface OrderEvaluationService extends IService<OrderEvaluation> {

    Result<IPage<MyEvaluationVO>> queryMineEvaluation(Integer pageNum, Integer pageSize, Long id, String evaluationStatus);

    List<OrderEvaluation> getEvaluationsToAutoDefault();

    void defaultEvaluation(Long id);

    Result addEvaluation(EvaluationDTO dto);
}
